#ifndef QHISTORYDATABASE_H
#define QHISTORYDATABASE_H

#include <QStringList>

class QSqliteControl;

struct tagDataInfo;

class QHistoryDataBase
{
public:
    QHistoryDataBase();
    ~QHistoryDataBase();

    void    open(const QString &path);
    void    close();

    void    save_data(tagDataInfo* info,const QString &time);
    void    set_property(const QString &key,const QString &value);
protected:
    QSqliteControl      *m_sqlite_control;
    QStringList         m_tables;
};

#endif // QHISTORYDATABASE_H
